﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace XZTZ.UMP.Public.Models.Base
{
	[Table("Base_BillTemplet")]
	public class BillTemplet
	{
		[Key]
		public Guid GuidBillId { get; set; }
		public Guid GuidParentId { get; set; }

		[DisplayName("清单版本号")]
		public Guid GuidBillVisionId { get; set; }

		[DisplayName("清单类型")]
		public string StrType { get; set; }
		[DisplayName("支付项目Id")]
		public string StrSubSortId { get; set; }
		[DisplayName("层级编码")]
		public string StrLevelCode { get; set; }
		[DisplayName("清单编码")]
		public string StrBillCode { get; set; }
		[DisplayName("清单名称")]
		public string StrBillName { get; set; }
		[DisplayName("单位")]
		public string StrUnit { get; set; }
		[DisplayName("计算类型")]
		public string StrComputeType { get; set; }
		[DisplayName("关联清单Id")]
		public Guid? GuidAssociateBillId { get; set; }
		[DisplayName("是否允许超计")]
		public bool BlnIsExceed { get; set; }
		[DisplayName("父项备注")]
		public string StrParentShortName { get; set; }
		[DisplayName("清单属性")]
		public int StrPropertyId { get; set; }
		
		public virtual BillProperty BillProperty { get; set; }
		[DisplayName("排序号")]
		public int IntIndexNo { get; set; }
		[DisplayName("修改时间")]
		[DataType(DataType.Date)]
		
		public DateTime DtmOperateDate { get; set; }

		[DisplayName("是否禁用")]
		public bool BlnTabooFlag { get; set; }

		public virtual BillVision GuidBillVision { get; set; }
	}
}
